import 'package:flutter/material.dart';

class DiscoverPage extends StatelessWidget {
	final String title;

	DiscoverPage({Key key, @required this.title}) : super(key: key);

	@override
	Widget build(BuildContext context) {
		return Scaffold(
			appBar: AppBar(
				title: Text(title),
			),
			body: Container(
                color: Colors.grey[300],
                padding: EdgeInsets.only(top: 16.0),
                child: ListView(
                    children: <Widget>[
                        Container(
                            color: Colors.white,
                            child:  ListTile(
                                leading: Icon(Icons.play_circle_filled),
                                title: Text('Moments'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Container(
                            color: Colors.white,
                            margin: EdgeInsets.only(top: 32.0),
                            child:  ListTile(
                                leading: Icon(Icons.scanner),
                                title: Text('Scan'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Divider(
                            height: 1.0,
                            color: Colors.grey,
                        ),
                        Container(
                            color: Colors.white,
                            child:  ListTile(
                                leading: Icon(Icons.drag_handle),
                                title: Text('Shake'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Container(
                            color: Colors.white,
                            margin: EdgeInsets.only(top: 32.0),
                            child:  ListTile(
                                leading: Icon(Icons.scanner),
                                title: Text('Top Stories'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Divider(
                            height: 1.0,
                            color: Colors.grey,
                        ),
                        Container(
                            color: Colors.white,
                            child:  ListTile(
                                leading: Icon(Icons.drag_handle),
                                title: Text('Search'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Container(
                            color: Colors.white,
                            margin: EdgeInsets.only(top: 32.0),
                            child:  ListTile(
                                leading: Icon(Icons.scanner),
                                title: Text('People Nearby'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Divider(
                            height: 1.0,
                            color: Colors.grey,
                        ),
                        Container(
                            color: Colors.white,
                            child:  ListTile(
                                leading: Icon(Icons.drag_handle),
                                title: Text('Message in a Bottle'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Container(
                            color: Colors.white,
                            margin: EdgeInsets.only(top: 32.0),
                            child:  ListTile(
                                leading: Icon(Icons.scanner),
                                title: Text('Games'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                        Container(
                            color: Colors.white,
                            margin: EdgeInsets.only(top: 32.0),
                            child:  ListTile(
                                leading: Icon(Icons.scanner),
                                title: Text('Mini Programs'),
                                trailing: Icon(Icons.keyboard_arrow_right),
                            ),
                        ),
                    ],
                ),
            ),
		);
	}
}